hvm: Allow HVM guests direct access to 0xed debug/delay port
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 20 Mar 2009 08:42:14 +0000 (08:42 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 20 Mar 2009 08:42:14 +0000 (08:42 +0000)
commitf7ffd86d525591a1ade3554b5275a7fe604c0553
treee4c2980acb1b0d0e3e5d11114b2ca79d774cea3f
parent15ab9b2d3f36bdf3f64454dd8f0d3c2d224c8c1f
hvm: Allow HVM guests direct access to 0xed debug/delay port

Port 0x80 is already passed-through.  Writes to port 0x80 are
traditionally used as IO delay.  Recent Linux kernel versions can be
configured to use port 0xed instead (CONFIG_IO_DELAY_0XED=3Dy).
Ubuntu 8.04 and later kernels are configured to use port 0xed.

In Linux IO delay is implemented by (in|out)[bwl]_p.  From a first
glance at Linux it looks like the only relevant usage of delayed IO is
in drivers/video/console/vgacon.c.  Affected is VGA console
initialization and font setup.  Output / scrolling is not affected.

Signed-off-by: Thomas Friebel <thomas.friebel@amd.com>
xen/arch/x86/hvm/hvm.c